package com.en.controller.Review;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.time.LocalTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;

@Data
public class ReviewAddDto implements Serializable {

    @NotNull(message = "word_id不能为空")
    private Integer word_id;

    @NotNull(message = "user_id不能为空")
    private Integer user_id;

    @NotNull(message = "right_times不能为空")
    private Integer right_times;

    @NotNull(message = "wrong_times不能为空")
    private Integer wrong_times;

    @ApiModelProperty("平均学习频率，单位：秒；")
    @NotNull(message = "study_frequency不能为空")
    private Integer study_frequency;

    @NotNull(message = "last_review_time不能为空")
    private LocalDateTime last_review_time;

}
